<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>网站配置</title>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Admin/bootstrap/css/bootstrap.min.css" media="screen">
	<script type="text/javascript" src="__PUBLIC__/js/jquery-2.1.4.min.js"></script>
	<style>
		 #pages a{ background-color: #444444;
            border-left: 1px solid rgba(255, 255, 255, 0.15);
            border-right: 1px solid rgba(0, 0, 0, 0.5);
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.5), 0 1px 0 rgba(255, 255, 255, 0.15) inset;
            color: #fff;
            cursor: pointer;
            display: block;
            float: left;
            font-size: 12px;
            height: 20px;
            line-height: 20px;
            outline: medium none;
            padding: 0 10px;
            text-align: center;
            text-decoration: none;
        }
        #pages span{
            background-color: #88a9eb;
            background-image: none;
            border: medium none;
            box-shadow: 0 0 4px rgba(0, 0, 0, 0.25) inset;
            color: #323232;
            cursor: pointer;
            display: block;
            float: left;
            font-size: 12px;
            height: 20px;
            line-height: 20px;
            outline: medium none;
            padding: 0 10px;
            text-align: center;
            text-decoration: none;		
        }		
        .table th, .table td {

　　		
　　}



	</style>
</head>
<body>
	<center>
	
	<div class="panel panel-primary">
						  <div class="panel-heading">配置列表</div>
						  <div class="panel-body">
						  <form action="__CONTROLLER__/index" method="get">
							
							<div style="float:right"><input type="text" name="keywords"><input type="submit"></div>
						</form>
						   
						  </div>
						  	<table class="table table-striped table-hover table-condensed table-bordered" width="800" >
					
					<tr>
					
						<th style='text-align: center;'>配置ID</th>
						<th style='text-align: center;'>网站标题</th>
						<th style='text-align: center;'>网站logo</th>
						<th style='text-align: center;'>启用状态</th>

						<th style='text-align: center;'>操作</th>
					</tr>
				<volist  name = 'list' id = 'val'>
					<tr>
						<th style='text-align: center;'>{$val.pzid}</th>

						<th style='text-align: center;'>{$val.title}</th>
						<th style='text-align: center;'><img src="__PUBLIC__/{$val.logo}"width="80px"></th>
						<th style='text-align: center;'>
							<if condition = "$val.status eq 1">
								启用
								<elseif condition="$val.status eq 0"/>禁用
							</if>	
						</th>
						<!-- <th style='text-align: center;'>11</th> -->
					
						<th style='text-align: center;'>
						<a href='{:U("Admin/Peizhi/edit",array('pzid'=>$val["pzid"]))}'><button class='btn btn-primary'>修改</button></a>
						<a href="{:U("Admin/Peizhi/delete",array('pzid'=>$val["pzid"]))}"><button class="btn btn-danger">删除</button></a>
						</th>

					</tr>
				</volist >
				<tr class="success">
					<td></td>
					<td></td>
					<td></td>
					<td></td>
					<td id="pages"><div style="float:right">{$page}</div></td>
				</tr>
	</table>
	</div>
	</center>
</body>
</html>